<div class="identity-id-class">
    @if ($model->type ==1 )
        <div>
            <p class="text-danger">用户钱包充值前：{{$value['pre']}}元</p>
            <p class="text-success">用户钱包充值后：{{$value['next']}}元</p>
        </div>
    @elseif($model->type ==2)
        <div>
            <p class="text-danger">用户复购券充值前：{{$value['pre']}}元</p>
            <p class="text-success">用户复购券充值后：{{$value['next']}}元</p>
        </div>

    @elseif($model->type ==3)
        <div>
            @if ($value['pre']==-1)
                <p class="text-danger">用户操作前身份：非实体店铺</p>
                <p class="text-success">用户操作后身份：实体店铺</p>
            @elseif($value['pre']==1)
                <p class="text-danger">用户操作前身份：实体店铺</p>
                <p class="text-success">用户操作后身份：非实体店铺</p>
            @endif
        </div>
    @elseif($model->type ==4)
        <div>
            <p class="text-danger">{{$value['pre']}}</p>
            <p class="text-success">{{$value['next']}}</p>
        </div>
    @elseif($model->type ==5)
        <div>
            <p class="text-danger">{{$value['pre']}}</p>
            <p class="text-success">{{$value['next']}}</p>
        </div>

    @endif


</div>

<style>
    .identity-id-class {
        display: flex;
        align-content: center;
        flex-direction: column;
        font-size: 14px;
    }
</style>

<script init=".my-class">
</script>
